package com.douwong.student.db;

import android.content.Context;

public abstract class BDBaseService<L> {

	protected DBHelper dbHelper = null;

	protected BDBaseService(Context context) {
		dbHelper = new DBHelper(context);
	}

	public abstract void add(L t);

	public abstract void delete(int id);

	public abstract void update(int id);

	public abstract L query(int id);

}
